'Declaration Public Overloads Function When(Of TExpected As T)( _ ByVal value As TExpected, _ ByVal func As Func(Of TExpected,TResult) _ ) As FunctionalExtensions.MatchBlock(Of T,TResult)
public FunctionalExtensions.MatchBlock<T,TResult> When<TExpected>( TExpected value, Func<TExpected,TResult> func ) where TExpected: T
Parameters
- value
- func
Type Parameters
- TExpected